# -*- coding: utf-8 -*-
'''
Created on 2011-3-11

@author: Tony
'''
from datetime import date
from datetime import datetime
from django import forms
from django.utils.translation import ugettext_lazy as _


'''DATE_CHOICE=[[1,'今天'],[2,'明天'],[3,'后天'],[4,'周六'],[5,'周日']]
ACTIVITY_CHOICE=[[1,'唱K'],[2,'打保龄'],[3,'看电影'],[4,'去游泳'],[5,'去酒吧']]
ACTIVITY=['唱K','打保龄  ','看电影','请人吃饭','吃霸王餐','去游泳','去酒吧','去爬山']'''
TODAY=date(datetime.now().year,datetime.now().month,datetime.now().day)  
class AddActivityForm(forms.Form):
    date=forms.CharField(label='',widget=forms.HiddenInput(attrs={'value':'2008-03-08'}))
    activity=forms.CharField(label='',widget=forms.TextInput(attrs={'size':'20'}))
    address=forms.CharField(label='',widget=forms.TextInput(attrs={'size':'10'}))
    weibo=forms.CharField(label='同步到微博',widget=forms.CheckboxInput(attrs={'value':'True'}))
    gongkai=forms.CharField(label='活动公开',widget=forms.CheckboxInput(attrs={'value':'True'}))

class addSuggestionForm(forms.Form):
    activityId=forms.CharField(label='',max_length=30,widget=forms.HiddenInput)
    suggestion=forms.CharField(label=_(u'我的建议:'),widget=forms.Textarea)

class suiyuFrom(forms.Form):
    openacti=forms.CharField(label='哈哈',widget=forms.CheckboxInput(attrs={'value':'True'}))

class addFriendForm(forms.Form):
    #userid=forms.CharField(label='',max_length=30,widget=forms.HiddenInput)
    message=forms.CharField(label=_(u'向对方说:'),widget=forms.Textarea)
    
        
    
